package com.xh.bussiness.system.service;

import com.xh.bussiness.system.bean.request.TeacherRequest;
import com.xh.bussiness.system.model.Teacher;
import com.xh.core.bean.XhPage;
import com.xh.core.service.IBaseService;

import java.util.List;

public interface ITeacherService extends IBaseService<Teacher> {

    Teacher getTeacherByUserId(String userId);

    /**
     * 分页查询方法
     * @param page
     * @param bean
     * @return
     */
    XhPage queryTeacherPage(XhPage page, TeacherRequest bean);

    /**
     * 查询方法
     * @param bean
     * @return
     */
    List queryTeacher(TeacherRequest bean);
}
